using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BottomIcon : MonoBehaviour
{
    private Transform childTrans;
    private void OnEnable()
    {
        childTrans = transform.GetChild(0);
        childTrans.localScale = Vector3.zero;
        childTrans.DOScale(0.3f, 0.5f);
    }

    private void OnDisable()
    {
        childTrans.DOScale(0f, 0.5f);
    }
}
